﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using WoChu.CF.Base;
using WoChu.RfClient.Entity;

namespace WoChu.RfClient.Duty
{
    [ServiceName(Name = "PickLocationRelation")]
    public interface IPickLocationRelation
    {
        [Mapping(MethodUrl = "ExistLoctionGoodsByLocationCode?code={0}")]
        ResultModel<LocationGoodsInfo> ExistLoctionGoodsByLocationCode(string code);

        [Mapping(MethodUrl = "ExistLoctionGoodsByGoodsCode?code={0}")]
        ResultModel<LocationGoodsInfo>  ExistLoctionGoodsByGoodsCode(string code);

        [Mapping(MethodUrl = "DeleteLoctionGoodsRelation?locationGoodsId={0}")]
        ResultModel<bool> DeleteLoctionGoodsRelation(int locationGoodsId);

        [Mapping(MethodUrl = "SetLocationGoodsPick?userID={0}")]
        ResultModel<bool> SetLocationGoodsPick(string userID, List<LocationGoodsInfo> lstLocationGoods);

    }
}
